<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a th:href="@{/user/findAll}">返回</a>
<form th:action="@{/user/userUpdate}" method="post">
    <input type="hidden" name="id" th:value="${user.id}">
    商品名称:<input type="text" name="name"  th:value="${user.name}"/><br/>
    商品价格:<input type="number" name="jige" th:value="${user.jg}"><br/>
    商品日期:<input type="date" name="date" th:value="${#dates.format(user.birthday,'yyyy-MM-dd')}"/><br/>
    商品状态:<input type="text" name="status" th:value="${user.status}"><br/>
    <input type="submit" value="确定"/><br/>
</form>
</body>
</html>
